//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.restaurant.application.indexes.couponmanagelist.mysql;

import com.google.common.collect.Lists;
import com.nebutown.generation.Convert;
import com.nebutown.generation.PickableBean;
import com.nebutown.generation.basictype.UID;
import java.util.List;

public class CouponManageListBean implements PickableBean {
    public static final String FN_RECORDID = "recordId";
    public static final String FN_COUPONMANAGEUID = "couponManageUid";
    public static final String FN_ID = "id";
    public static final String FN_NUMBER = "number";
    public static final String FN_CREATETIME = "createTime";
    public static final String FN_MODIFYTIME = "modifyTime";
    public static final String FN_RECEIVETIME = "receiveTime";
    public static final String FN_ENDTIME = "endTime";
    public static final String FN_TYPE = "type";
    public static final String FN_MODALITY = "modality";
    public static final String FN_FULLMONEY = "fullMoney";
    public static final String FN_MINUSMONEY = "minusMoney";
    public static final String FN_SHOPNAMELIST = "shopNameList";
    public static final String FN_REMARKS = "remarks";
    public static final String FN_TOTALAMOUNT = "totalAmount";
    public static final String FN_AMOUNT = "amount";
    public static final String FN_STATE = "state";
    public static final String FN_LIMITID = "limitId";
    public static final String FN_LIMITACCOUNT = "limitAccount";
    public static final List<String> FIELD_NAMES = Lists.newArrayList(new String[]{"recordId", "couponManageUid", "id", "number", "createTime", "modifyTime", "receiveTime", "endTime", "type", "modality", "fullMoney", "minusMoney", "shopNameList", "remarks", "totalAmount", "amount", "state", "limitId", "limitAccount"});
    private Long recordId;
    private UID couponManageUid;
    private String id;
    private String number;
    private Long createTime;
    private Long modifyTime;
    private Long receiveTime;
    private Long endTime;
    private String type;
    private String modality;
    private Double fullMoney;
    private Double minusMoney;
    private String shopNameList;
    private String remarks;
    private String totalAmount;
    private String amount;
    private String state;
    private String limitId;
    private String limitAccount;

    public CouponManageListBean(Long recordId, UID couponManageUid, String id, String number, Long createTime, Long modifyTime, Long receiveTime, Long endTime, String type, String modality, Double fullMoney, Double minusMoney, String shopNameList, String remarks, String totalAmount, String amount, String state, String limitId, String limitAccount) {
        this.setRecordId(recordId);
        this.setCouponManageUid(couponManageUid);
        this.setId(id);
        this.setNumber(number);
        this.setCreateTime(createTime);
        this.setModifyTime(modifyTime);
        this.setReceiveTime(receiveTime);
        this.setEndTime(endTime);
        this.setType(type);
        this.setModality(modality);
        this.setFullMoney(fullMoney);
        this.setMinusMoney(minusMoney);
        this.setShopNameList(shopNameList);
        this.setRemarks(remarks);
        this.setTotalAmount(totalAmount);
        this.setAmount(amount);
        this.setState(state);
        this.setLimitId(limitId);
        this.setLimitAccount(limitAccount);
    }

    public CouponManageListBean() {
    }

    public CouponManageListBean duplicate() {
        CouponManageListBean result = new CouponManageListBean();
        result.recordId = this.recordId;
        result.couponManageUid = this.couponManageUid;
        result.id = this.id;
        result.number = this.number;
        result.createTime = this.createTime;
        result.modifyTime = this.modifyTime;
        result.receiveTime = this.receiveTime;
        result.endTime = this.endTime;
        result.type = this.type;
        result.modality = this.modality;
        result.fullMoney = this.fullMoney;
        result.minusMoney = this.minusMoney;
        result.shopNameList = this.shopNameList;
        result.remarks = this.remarks;
        result.totalAmount = this.totalAmount;
        result.amount = this.amount;
        result.state = this.state;
        result.limitId = this.limitId;
        result.limitAccount = this.limitAccount;
        return result;
    }

    public String toString() {
        return Convert.toJson(this);
    }

    public Long getRecordId() {
        return this.recordId;
    }

    public void setRecordId(Long value) {
        this.recordId = value;
    }

    public CouponManageListBean withRecordId(Long value) {
        this.setRecordId(value);
        return this;
    }

    public CouponManageListBean withRecordId(Long value, Long defaultValue) {
        this.setRecordId(value == null ? defaultValue : value);
        return this;
    }

    public UID getCouponManageUid() {
        return this.couponManageUid;
    }

    public void setCouponManageUid(UID value) {
        this.couponManageUid = value;
    }

    public CouponManageListBean withCouponManageUid(UID value) {
        this.setCouponManageUid(value);
        return this;
    }

    public CouponManageListBean withCouponManageUid(UID value, UID defaultValue) {
        this.setCouponManageUid(value == null ? defaultValue : value);
        return this;
    }

    public String getId() {
        return this.id;
    }

    public void setId(String value) {
        this.id = value;
    }

    public CouponManageListBean withId(String value) {
        this.setId(value);
        return this;
    }

    public CouponManageListBean withId(String value, String defaultValue) {
        this.setId(value == null ? defaultValue : value);
        return this;
    }

    public String getNumber() {
        return this.number;
    }

    public void setNumber(String value) {
        this.number = value;
    }

    public CouponManageListBean withNumber(String value) {
        this.setNumber(value);
        return this;
    }

    public CouponManageListBean withNumber(String value, String defaultValue) {
        this.setNumber(value == null ? defaultValue : value);
        return this;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Long value) {
        this.createTime = value;
    }

    public CouponManageListBean withCreateTime(Long value) {
        this.setCreateTime(value);
        return this;
    }

    public CouponManageListBean withCreateTime(Long value, Long defaultValue) {
        this.setCreateTime(value == null ? defaultValue : value);
        return this;
    }

    public Long getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(Long value) {
        this.modifyTime = value;
    }

    public CouponManageListBean withModifyTime(Long value) {
        this.setModifyTime(value);
        return this;
    }

    public CouponManageListBean withModifyTime(Long value, Long defaultValue) {
        this.setModifyTime(value == null ? defaultValue : value);
        return this;
    }

    public Long getReceiveTime() {
        return this.receiveTime;
    }

    public void setReceiveTime(Long value) {
        this.receiveTime = value;
    }

    public CouponManageListBean withReceiveTime(Long value) {
        this.setReceiveTime(value);
        return this;
    }

    public CouponManageListBean withReceiveTime(Long value, Long defaultValue) {
        this.setReceiveTime(value == null ? defaultValue : value);
        return this;
    }

    public Long getEndTime() {
        return this.endTime;
    }

    public void setEndTime(Long value) {
        this.endTime = value;
    }

    public CouponManageListBean withEndTime(Long value) {
        this.setEndTime(value);
        return this;
    }

    public CouponManageListBean withEndTime(Long value, Long defaultValue) {
        this.setEndTime(value == null ? defaultValue : value);
        return this;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String value) {
        this.type = value;
    }

    public CouponManageListBean withType(String value) {
        this.setType(value);
        return this;
    }

    public CouponManageListBean withType(String value, String defaultValue) {
        this.setType(value == null ? defaultValue : value);
        return this;
    }

    public String getModality() {
        return this.modality;
    }

    public void setModality(String value) {
        this.modality = value;
    }

    public CouponManageListBean withModality(String value) {
        this.setModality(value);
        return this;
    }

    public CouponManageListBean withModality(String value, String defaultValue) {
        this.setModality(value == null ? defaultValue : value);
        return this;
    }

    public Double getFullMoney() {
        return this.fullMoney;
    }

    public void setFullMoney(Double value) {
        this.fullMoney = value;
    }

    public CouponManageListBean withFullMoney(Double value) {
        this.setFullMoney(value);
        return this;
    }

    public CouponManageListBean withFullMoney(Double value, Double defaultValue) {
        this.setFullMoney(value == null ? defaultValue : value);
        return this;
    }

    public Double getMinusMoney() {
        return this.minusMoney;
    }

    public void setMinusMoney(Double value) {
        this.minusMoney = value;
    }

    public CouponManageListBean withMinusMoney(Double value) {
        this.setMinusMoney(value);
        return this;
    }

    public CouponManageListBean withMinusMoney(Double value, Double defaultValue) {
        this.setMinusMoney(value == null ? defaultValue : value);
        return this;
    }

    public String getShopNameList() {
        return this.shopNameList;
    }

    public void setShopNameList(String value) {
        this.shopNameList = value;
    }

    public CouponManageListBean withShopNameList(String value) {
        this.setShopNameList(value);
        return this;
    }

    public CouponManageListBean withShopNameList(String value, String defaultValue) {
        this.setShopNameList(value == null ? defaultValue : value);
        return this;
    }

    public String getRemarks() {
        return this.remarks;
    }

    public void setRemarks(String value) {
        this.remarks = value;
    }

    public CouponManageListBean withRemarks(String value) {
        this.setRemarks(value);
        return this;
    }

    public CouponManageListBean withRemarks(String value, String defaultValue) {
        this.setRemarks(value == null ? defaultValue : value);
        return this;
    }

    public String getTotalAmount() {
        return this.totalAmount;
    }

    public void setTotalAmount(String value) {
        this.totalAmount = value;
    }

    public CouponManageListBean withTotalAmount(String value) {
        this.setTotalAmount(value);
        return this;
    }

    public CouponManageListBean withTotalAmount(String value, String defaultValue) {
        this.setTotalAmount(value == null ? defaultValue : value);
        return this;
    }

    public String getAmount() {
        return this.amount;
    }

    public void setAmount(String value) {
        this.amount = value;
    }

    public CouponManageListBean withAmount(String value) {
        this.setAmount(value);
        return this;
    }

    public CouponManageListBean withAmount(String value, String defaultValue) {
        this.setAmount(value == null ? defaultValue : value);
        return this;
    }

    public String getState() {
        return this.state;
    }

    public void setState(String value) {
        this.state = value;
    }

    public CouponManageListBean withState(String value) {
        this.setState(value);
        return this;
    }

    public CouponManageListBean withState(String value, String defaultValue) {
        this.setState(value == null ? defaultValue : value);
        return this;
    }

    public String getLimitId() {
        return this.limitId;
    }

    public void setLimitId(String value) {
        this.limitId = value;
    }

    public CouponManageListBean withLimitId(String value) {
        this.setLimitId(value);
        return this;
    }

    public CouponManageListBean withLimitId(String value, String defaultValue) {
        this.setLimitId(value == null ? defaultValue : value);
        return this;
    }

    public String getLimitAccount() {
        return this.limitAccount;
    }

    public void setLimitAccount(String value) {
        this.limitAccount = value;
    }

    public CouponManageListBean withLimitAccount(String value) {
        this.setLimitAccount(value);
        return this;
    }

    public CouponManageListBean withLimitAccount(String value, String defaultValue) {
        this.setLimitAccount(value == null ? defaultValue : value);
        return this;
    }

    public Object getValueOf(String name) {
        byte var3 = -1;
        switch(name.hashCode()) {
            case -2103439280:
                if (name.equals("receiveTime")) {
                    var3 = 6;
                }
                break;
            case -1693757583:
                if (name.equals("fullMoney")) {
                    var3 = 10;
                }
                break;
            case -1607243192:
                if (name.equals("endTime")) {
                    var3 = 7;
                }
                break;
            case -1413853096:
                if (name.equals("amount")) {
                    var3 = 15;
                }
                break;
            case -1257401156:
                if (name.equals("totalAmount")) {
                    var3 = 14;
                }
                break;
            case -1034364087:
                if (name.equals("number")) {
                    var3 = 3;
                }
                break;
            case -799234740:
                if (name.equals("recordId")) {
                    var3 = 0;
                }
                break;
            case -622722335:
                if (name.equals("modality")) {
                    var3 = 9;
                }
                break;
            case -259224795:
                if (name.equals("couponManageUid")) {
                    var3 = 1;
                }
                break;
            case 3355:
                if (name.equals("id")) {
                    var3 = 2;
                }
                break;
            case 3575610:
                if (name.equals("type")) {
                    var3 = 8;
                }
                break;
            case 109757585:
                if (name.equals("state")) {
                    var3 = 16;
                }
                break;
            case 176116278:
                if (name.equals("limitId")) {
                    var3 = 17;
                }
                break;
            case 755649247:
                if (name.equals("shopNameList")) {
                    var3 = 12;
                }
                break;
            case 1091415283:
                if (name.equals("remarks")) {
                    var3 = 13;
                }
                break;
            case 1211388583:
                if (name.equals("modifyTime")) {
                    var3 = 5;
                }
                break;
            case 1369213417:
                if (name.equals("createTime")) {
                    var3 = 4;
                }
                break;
            case 1395277298:
                if (name.equals("limitAccount")) {
                    var3 = 18;
                }
                break;
            case 1811910192:
                if (name.equals("minusMoney")) {
                    var3 = 11;
                }
        }

        switch(var3) {
            case 0:
                return this.getRecordId();
            case 1:
                return this.getCouponManageUid();
            case 2:
                return this.getId();
            case 3:
                return this.getNumber();
            case 4:
                return this.getCreateTime();
            case 5:
                return this.getModifyTime();
            case 6:
                return this.getReceiveTime();
            case 7:
                return this.getEndTime();
            case 8:
                return this.getType();
            case 9:
                return this.getModality();
            case 10:
                return this.getFullMoney();
            case 11:
                return this.getMinusMoney();
            case 12:
                return this.getShopNameList();
            case 13:
                return this.getRemarks();
            case 14:
                return this.getTotalAmount();
            case 15:
                return this.getAmount();
            case 16:
                return this.getState();
            case 17:
                return this.getLimitId();
            case 18:
                return this.getLimitAccount();
            default:
                return null;
        }
    }

    public void setValueOf(String name, Object value) {
        byte var4 = -1;
        switch(name.hashCode()) {
            case -2103439280:
                if (name.equals("receiveTime")) {
                    var4 = 6;
                }
                break;
            case -1693757583:
                if (name.equals("fullMoney")) {
                    var4 = 10;
                }
                break;
            case -1607243192:
                if (name.equals("endTime")) {
                    var4 = 7;
                }
                break;
            case -1413853096:
                if (name.equals("amount")) {
                    var4 = 15;
                }
                break;
            case -1257401156:
                if (name.equals("totalAmount")) {
                    var4 = 14;
                }
                break;
            case -1034364087:
                if (name.equals("number")) {
                    var4 = 3;
                }
                break;
            case -799234740:
                if (name.equals("recordId")) {
                    var4 = 0;
                }
                break;
            case -622722335:
                if (name.equals("modality")) {
                    var4 = 9;
                }
                break;
            case -259224795:
                if (name.equals("couponManageUid")) {
                    var4 = 1;
                }
                break;
            case 3355:
                if (name.equals("id")) {
                    var4 = 2;
                }
                break;
            case 3575610:
                if (name.equals("type")) {
                    var4 = 8;
                }
                break;
            case 109757585:
                if (name.equals("state")) {
                    var4 = 16;
                }
                break;
            case 176116278:
                if (name.equals("limitId")) {
                    var4 = 17;
                }
                break;
            case 755649247:
                if (name.equals("shopNameList")) {
                    var4 = 12;
                }
                break;
            case 1091415283:
                if (name.equals("remarks")) {
                    var4 = 13;
                }
                break;
            case 1211388583:
                if (name.equals("modifyTime")) {
                    var4 = 5;
                }
                break;
            case 1369213417:
                if (name.equals("createTime")) {
                    var4 = 4;
                }
                break;
            case 1395277298:
                if (name.equals("limitAccount")) {
                    var4 = 18;
                }
                break;
            case 1811910192:
                if (name.equals("minusMoney")) {
                    var4 = 11;
                }
        }

        switch(var4) {
            case 0:
                this.setRecordId((Long)value);
                return;
            case 1:
                this.setCouponManageUid((UID)value);
                return;
            case 2:
                this.setId((String)value);
                return;
            case 3:
                this.setNumber((String)value);
                return;
            case 4:
                this.setCreateTime((Long)value);
                return;
            case 5:
                this.setModifyTime((Long)value);
                return;
            case 6:
                this.setReceiveTime((Long)value);
                return;
            case 7:
                this.setEndTime((Long)value);
                return;
            case 8:
                this.setType((String)value);
                return;
            case 9:
                this.setModality((String)value);
                return;
            case 10:
                this.setFullMoney((Double)value);
                return;
            case 11:
                this.setMinusMoney((Double)value);
                return;
            case 12:
                this.setShopNameList((String)value);
                return;
            case 13:
                this.setRemarks((String)value);
                return;
            case 14:
                this.setTotalAmount((String)value);
                return;
            case 15:
                this.setAmount((String)value);
                return;
            case 16:
                this.setState((String)value);
                return;
            case 17:
                this.setLimitId((String)value);
                return;
            case 18:
                this.setLimitAccount((String)value);
                return;
            default:
        }
    }

    public boolean hasField(String name) {
        return FIELD_NAMES.contains(name);
    }

    public int hashCode() {
        return this.signature().hashCode();
    }

    public boolean equals(Object o) {
        return !(o instanceof CouponManageListBean) ? false : this.signature().equals(((CouponManageListBean)o).signature());
    }

    public String signature() {
        throw new RuntimeException("Bean CouponManageListBean has no signature defined, no hash code or equals possible.");
    }
}
